
import React, { Component } from 'react';
import SonA from "./SonA";
import SonB from "./SonB";

export default class index extends Component {
  render() {
    return (
      <div>
        <h1>父组件（兄弟组件传值，用事件总线/pubsub</h1>
        <hr/>
        <SonA></SonA>
        <hr/>
        <SonB></SonB>
      </div>
    )
  }
}
